<template>
	<view class="swiper">
		<swiper class="swipers" 
		:indicator-dots="true" 
		:autoplay="true"
		:interval="2000"
		:duration="500"
		indicator-active-color="red"
		:circular="true"
		previous-margin='20px'
						>
			<swiper-item>
				<image src="../../static/logo.png" style="width: 100%;" mode="widthFix"></image>
			</swiper-item>
			<swiper-item>
			<image src="../../static/logo.png" style="width: 100%;" mode="widthFix"></image>
			</swiper-item>
		</swiper>

		<navigator url="../scroll/scroll">跳转到滚动导航</navigator>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onNavigationBarButtonTap(e) {
			uni.navigateBack()
			console.log(e);
		},
		methods: {

		}
	}
</script>

<style>

</style>
